package cn.jyc.ssm03.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Bus_checks {
    private String checkid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date datetime;
    private String problem;
    private String checkdesc;
    private Double paymoney;
    private String opername;
    private String rentid;

    public Bus_checks() {
    }

    public Bus_checks(String checkid, Date datetime, String problem, String checkdesc, Double paymoney, String opername, String rentid) {
        this.checkid = checkid;
        this.datetime = datetime;
        this.problem = problem;
        this.checkdesc = checkdesc;
        this.paymoney = paymoney;
        this.opername = opername;
        this.rentid = rentid;
    }

    @Override
    public String toString() {
        return "Bus_checks{" +
                "checkid='" + checkid + '\'' +
                ", datetime=" + datetime +
                ", problem='" + problem + '\'' +
                ", checkdesc='" + checkdesc + '\'' +
                ", paymoney=" + paymoney +
                ", opername='" + opername + '\'' +
                ", rentid='" + rentid + '\'' +
                '}';
    }

    public String getCheckid() {
        return checkid;
    }

    public void setCheckid(String checkid) {
        this.checkid = checkid;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getCheckdesc() {
        return checkdesc;
    }

    public void setCheckdesc(String checkdesc) {
        this.checkdesc = checkdesc;
    }

    public Double getPaymoney() {
        return paymoney;
    }

    public void setPaymoney(Double paymoney) {
        this.paymoney = paymoney;
    }

    public String getOpername() {
        return opername;
    }

    public void setOpername(String opername) {
        this.opername = opername;
    }

    public String getRentid() {
        return rentid;
    }

    public void setRentid(String rentid) {
        this.rentid = rentid;
    }
}